package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.entity.ShopEvaluationEntity;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.commoms.vo.shop.WebShopListQueryResultVO;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface ShopEvaluationService extends IService<ShopEvaluationEntity> {

    /**
     * 添加店铺评分
     *
     * @param param
     * @return
     */
    ResponseResult saveShopEvaluationInfo(Map<String, Object> param);


    /**
     * 放入店铺评分与百分比
     *
     * @param param
     * @return
     */
    List<WebShopListQueryResultVO> queryShopScore(List<WebShopListQueryResultVO> param);
}
